package com.caojing.haolemai.ui.home;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.HomeLvBean;
import com.caojing.haolemai.bean.HomeVpBean;
import com.caojing.haolemai.httputils.HttpUtils;

/**
 * Created by CaoJing on 2016/10/3.
 */
public class HomeContract {

    public interface Model extends IBaseModel{
        void getHomeVpBean(HttpUtils.HttpCallBack<HomeVpBean> homeVpBeanHttpCallBack);
        void getHomeLvBean(HttpUtils.HttpCallBack<HomeLvBean> homeLvBeanHttpCallBack);
    }
    public interface View extends IBaseView{
        void onSuccessGetHomeVpBean(HomeVpBean homeVpBean);
        void onFailGetHomeVpBean(String msg);

        void onSuccessGetHomeLvBean(HomeLvBean homeLvBean);
        void onFailGetHomeLvBean(String msg);
    }

    public interface Presenter extends IBasePresenter{
        void initData();
    }
}
